<?php


defined('_JEXEC') or die;

if (!JFactory::getUser()->authorise('phuong.manage', 'com_phuong'))
{
	return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
}

JLoader::register('PhuongHelper', __DIR__ . '/helpers/phuong.php');

$controller = JControllerLegacy::getInstance('phuong');
$controller->execute(JFactory::getApplication()->input->get('task'));
$controller->redirect();